Skip to main content

MinerApi

All URIs are relative to //api.estuary.tech/

MethodHTTP requestDescription
MinerClaimMinerGetGet /miner/claim/{miner}Get Claim Miner Message
MinerClaimPostPost /miner/claimClaim Miner
MinerSetInfoMinerPutPut /miner/set-info/{miner}Set Miner Info
MinerSuspendMinerPostPost /miner/suspend/{miner}Suspend Miner
MinerUnsuspendMinerPutPut /miner/unsuspend/{miner}Unuspend Miner
PublicMinersDealsMinerGetGet /public/miners/deals/{miner}Get all miners deals
PublicMinersStatsMinerGetGet /public/miners/stats/{miner}Get miner stats

MinerClaimMinerGet

ApiClaimMsgResponse MinerClaimMinerGet(ctx, miner) Get Claim Miner Message

This endpoint lets a user get the message in order to claim a miner

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
minerstringMiner claim message

Return type

ApiClaimMsgResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

MinerClaimPost

ApiClaimResponse MinerClaimPost(ctx, body) Claim Miner

This endpoint lets a user claim a miner

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
bodyMinerClaimMinerBodyClaim Miner Body

Return type

ApiClaimResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: /
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

MinerSetInfoMinerPut

ApiEmptyResp MinerSetInfoMinerPut(ctx, body, miner) Set Miner Info

This endpoint lets a user set miner info.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
bodyMinerMinerSetInfoParamsMiner set info params
minerstringMiner to set info for

Return type

ApiEmptyResp

Authorization

bearerAuth

HTTP request headers

  • Content-Type: /
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

MinerSuspendMinerPost

ApiEmptyResp MinerSuspendMinerPost(ctx, body, miner) Suspend Miner

This endpoint lets a user suspend a miner.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
bodyMinerSuspendMinerBodySuspend Miner Body
minerstringMiner to suspend

Return type

ApiEmptyResp

Authorization

bearerAuth

HTTP request headers

  • Content-Type: /
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

MinerUnsuspendMinerPut

ApiEmptyResp MinerUnsuspendMinerPut(ctx, miner) Unuspend Miner

This endpoint lets a user unsuspend a miner.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
minerstringMiner to unsuspend

Return type

ApiEmptyResp

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PublicMinersDealsMinerGet

string PublicMinersDealsMinerGet(ctx, miner, optional) Get all miners deals

This endpoint returns all miners deals

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
minerstringFilter by miner
optional*MinerApiPublicMinersDealsMinerGetOptsoptional parametersnil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a MinerApiPublicMinersDealsMinerGetOpts struct Name | Type | Description | Notes ------------- | ------------- | ------------- | -------------

ignoreFailed | optional.String| Ignore Failed |

Return type

string

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PublicMinersStatsMinerGet

string PublicMinersStatsMinerGet(ctx, miner) Get miner stats

This endpoint returns miner stats

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
minerstringFilter by miner

Return type

string

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]